

	/* function to download file*/
	function goDownLoad(id, parentid)
	{

		document.form1.id.value = id;
		document.form1.parentid.value = parentid;
		document.form1.action = "FileDownLoader";
		document.form1.submit();

	}
	
	/* function to delete file*/
	function goDelete(id, parentid)
	{
		if(window.confirm("Are you sure to delete this file?"))
		{
			document.form1.id.value = id;
			document.form1.parentid.value = parentid;
			document.form1.action = "filedelete";
			document.form1.submit();
		}
	} 
	
	/* function to Thumbnail file*/
	function goThumbnail(id, parentid)
	{
			document.form1.id.value = id;
			document.form1.parentid.value = parentid;
			document.form1.action = "";
			document.form1.submit();
	} 	

	function openURL(id) {
		//opener.document.location = sURL;
		var obj = window.open("show?parentid="+id, "popup");
		
	} 

